Image Types

Various kinds of images can be displayed in IDL. This list describes them:

Pixel Values in Image Data

Pixel values in an image file can be stored in many different data types. The original data type of an image is reflected in IDL when importing the image, but you can convert the type once the image is stored in an IDL variable. The following types are commonly used for images:

While pixel values are commonly stored in files as whole numbers, they are usually converted to floating-point or double-precision data types prior to performing numerical computations. See the examples section of REFORM for more information.

Use these IDL functions to convert data from one type to another: